﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Manager.master" AutoEventWireup="true" CodeFile="ReplyMailBox.aspx.cs" Inherits="User_ReplyMailBox" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type="text/javascript">
        var Reply = function () {
            var postback = this.postback.fn
            postback();
            return false;
        }
    </script>
    <div style="margin:0 auto">
        <div class="content_area1">
            <h1>Trả lời thư</h1>
            <div style="margin-left:20px;">
                <table>
                    <tr>
                        <td>Gửi đến</td>
                        <td><asp:TextBox ID="txtReceiver" runat="server" Width="100%" ReadOnly="true"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>Nhập email hoặc tên đăng nhập. Mỗi tài khoản cách nhau bằng dấu ,</td>
                    </tr>
                    <tr>
                        <td>Tiêu đề</td>
                        <td><asp:TextBox ID="txtSubject" runat="server" Width="100%" ReadOnly="true"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <CKEditor:CKEditorControl ID="CKEditorControl1" runat="server" Width="627px" Height="300px" 
                                FilebrowserWindowFeatures="location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=mo,scrollbars=yes" 
                                ResizeEnabled="False" ToolbarFull="Preview|Cut|Copy|Paste|PasteText|PasteFromWordBold|Italic|Link|Unlink|Underline|Undo|Redo|Format|Font|FontSize">
                            </CKEditor:CKEditorControl>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <ext:Panel ID="Panel1" runat="server" Border="false">
                                <Buttons>
                                    <ext:Button ID="btnReply" runat="server" Text="Trả lời" Icon="EmailGo" OnClick="btnReply_Click" AutoPostBack="true">
                                        <Listeners>
                                            <Click Fn="Reply" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="btnCancel" runat="server" Text="Hủy" Icon="Decline" />
                                </Buttons>
                            </ext:Panel>
                        </td>
                    </tr>
                </table>
                <asp:HiddenField ID="hdfparentmsg" runat="server" Value="0" />
            </div>
            <br class="clear" />
            <img src="<%= ResolveUrl("~/images/bottom.jpg")%>" align="absbottom" alt="" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

